package com.sc.common.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;


public abstract class BaseEntity<T extends Model> extends  Model<T> {
    @TableField(exist = false)
    @JsonIgnore
    private  int page;
    @TableField(exist = false)
    @JsonIgnore
    private int pageSize;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }


}
